.box {
    margin: 5px 10px;
    padding-top: 45px;
}


.jibingbox {

    .title {
        height: 50px;
        font-weight: bold;
        color: #b5b5b5;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .all {
            font-size: 14px;
            color: #c5c4c4;
            display: flex;
            align-items: center;
        }
    }

    .keshibox {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;

        .keshiinner {
            height: 100px;
            background: red;
            border-radius: 8px;
        }
    }


    .historyinner {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;

        .historyitem {
            margin: 5px 0px;
            max-height: 20px;
            overflow: hidden;
            font-size: 12px;
            background: #e9e9e9;
            display: flex;
            text-align: center;
            align-items: center;
            padding: 4px 15px;
            border-radius: 50px;
        }
    }
}




.doctorbox {
    margin-top: 20px;

    .hotdoctor {
        font-weight: bold;
        color: #b5b5b5;
    }

    .doctorlist {
        margin: 20px 0px;
        display: flex;
        box-shadow: 2px 3px 5px 2px #f7f7f7;
        /* border: solid 1px #b5b5b5; */
        padding: 10px;

        .jiasao {
            margin-left: 13px;
            display: grid;
            grid-template-rows: 1fr 1fr 1fr;

            .yiyuan {
                font-size: 16px;
            }

            .shanchang {
                font-size: 14px;
                color: #a1a1a1;
            }
        }

    }
}


/* 保持原有样式不变，添加以下新样式 */

/* 移除原有的纯色背景设置 */
.keshiinner {
    border-radius: 8px;
    padding: 15px;
    margin: 10px;
    flex: 1;
    min-width: calc(50% - 20px);
    box-sizing: border-box;
}

/* 加强渐变色样式的优先级 */
.keshibox > div:nth-child(1) {
    background: linear-gradient(to bottom, #f5fafe, #d9e8f0) !important;
}

.keshibox > div:nth-child(2) {
    background: linear-gradient(to bottom, #fef5f6, #fee4e5) !important;
}

.keshibox > div:nth-child(3) {
    background: linear-gradient(to bottom, #fdf5ea, #f7e2c7) !important;
}

.keshibox > div:nth-child(4) {
    background: linear-gradient(to bottom, #f4f1fc, #e9e3fb) !important;
}

.keshipic{
    display: flex;
    align-items: center;
}

.keshiName {
    font-size: 18px;
    margin-left: 10px;
}

.diseaseList {
    margin-top: 10px;
    display: flex;
    white-space: nowrap;/* 防止文字换行 */
    overflow: hidden;/* 超出隐藏 */
    text-overflow: ellipsis;/* 超出部分显示... */
    width: 100%;   /* 设置宽度 */
}

.diseaseItem {
    font-size: 14px;

}

/* 没有更多数据样式 */
.noMoreData {
    text-align: center;
    padding: 15px 0;
    color: #888;
    font-size: 14px;
}

/* 暂无数据样式 */
.noData {
    text-align: center;
    padding: 30px 0;
    color: #888;
    font-size: 14px;
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: #666;
}

/* 无限滚动相关样式 */
.loadingMore {
    text-align: center;
    padding: 15px 0;
    color: #666;
    font-size: 14px;
}

/* 确保 InfiniteScroll 组件有足够的空间 */
.doctorbox {
    min-height: 200px; /* 给无限滚动组件预留空间 */
}

/* 为 InfiniteScroll 添加一些底部间距 */
.doctorbox > :last-child {
    margin-bottom: 20px;
}